#ifndef STATE_2DRPG_H_
#define STATE_2DRPG_H_

#include "state.h"
#include "collisionbox.h"
#include "SDL/SDL.h"
#include "render.h"
#include "model.h"
#include "map.h"
#include "gamecamera.h"
#include "c_lua_interface.h"

class CState2DRPG : public CState
{
	
	void Init();
	
	CEntity * m_pPlayer;
	CGameCamera * m_pGameCamera;
	
	CGameRules * m_pGameRules;
	CEntityStateVec * m_pEntStateVec;
	
	CCollisionSystem * m_pCollisionSystem;
	CBattleSystem * m_pBattleSystem;
	
	CFontMaterial * font;
  
public:
	
	CState2DRPG() : CState()
	{
	
		Init();
		
	}
	
	void Start();
	
	void PreRun();
  
  	void Input();
  	void Think();
  	void Draw();
  
};

#endif